﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pont
{
    public abstract class Random
    {
        private int valeur;
        private RandomImpl randomMethod;

        public int Valeur
        {
            get { return valeur; }
            set { valeur = value; }
        }

        public RandomImpl RandomMethod
        {
            get { return randomMethod; }
            set { randomMethod = value; }
        }

        public string NomRandomMethod
        {
            get
            {
                return randomMethod.NomMethode();
            }
        }
        abstract public int Generer();
    }
}
